package com.java.rest.utils.rest;

import lombok.Data;

/**
 * @author 陈烽
 */
@Data
public class RestError {
    private boolean success;
    private String errorMessage;

    RestError(String errorMessage) {
        this.success = false;
        this.errorMessage = errorMessage;
    }
}
